package com.zjhn.ds.domain.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.erp
 * @Author: sxt
 * @CreateTime: 2023-09-04  09:32
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("dbo.pro_task_detail")
public class ProTaskDetail {

    @TableId
    private String id;

    @TableField("task_id")
    private String taskId;

    @TableField("trade_order_detailid")
    private String tradeOrderDetailId;

    private Integer number;

    @TableField("machine_number")
    private Integer machineNumber;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;

    private String memo;

    private String bak1;

    private String bak2;

    private BigDecimal bak3;

    @TableField("Hod")
    private Date hod;

    @TableField("order_hod")
    private Date orderHod;

    private Integer lot;

    @TableField("stepPlanId")
    private String stepPlanId;

    @TableField("hasPrintNun")
    private Integer hasPrintNun;

    private Integer mantissa;

    private Integer type;

    @TableField("attr_workshop_code")
    private String attrWorkshopCode;

    @TableField("attr_workshop_name")
    private String attrWorkshopName;

    @TableField("supplier_id")
    private String supplierId;

    private Integer complement;

    @TableField("OutsourceCount")
    private Integer outSourceCount;

    private Integer sort;

    @TableField("OutsourceComplement")
    private Integer outSourceComplement;

    @TableField("MainDetailGuid")
    private String mainDetailGuid;

    @TableField("isAdd")
    private String isAdd;

    @TableField("IsDeleted")
    private Integer isDeleted;

    @TableField("produce_qty")
    private BigDecimal produceQty;

    @TableField("warn_qty")
    private BigDecimal warnQty;

}
